package com.zx.web.service;

import com.zx.bean.Address;

import java.util.List;

/**
 * @author 章鑫
 * @version V1.0
 * @Project 2022-09-05
 * @Package com.zx.web.service
 * @Description:
 * @Date 2022/9/15 10:56
 */
public interface AddressService {
    List<Address> getAddressByUid(int userId);

    boolean addAddress(Address address);

    boolean deleteAddress(int id);

    boolean updateAddress(Address address);

//    Address findAddressLevel(int userId);
//
//    boolean updateAddressLevel(int id);

    void setDefaultAddress(int id, int userId);
}
